package com.mew.common.dc.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.mew.common.entity.back.BalanceChange;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mew.common.vo.web.AdminEaVo;
import com.mew.common.vo.web.BalanceChangeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Dylin
 * @since 2021-08-26
 */
@DS("mew_record")
public interface BalanceChangeMapper extends BaseMapper<BalanceChange> {
    List<BalanceChangeVo> queryRecord(@Param("agentId") int agentId, @Param("canAll") boolean canAll);

    List<BalanceChangeVo> dataCount(@Param("k") String username);

    List<BalanceChangeVo> dataTotalCount(@Param("id") Integer id,@Param("startTime") String startTime,@Param("endTime") String endTime);

}
